import java.awt.Graphics2D;

import javax.swing.Timer;


public class Crowd {
	Human[] humans;
	int x, y;
	public Crowd(int x, int y, Timer t){
		this.x = x;
		this.y = y;
		humans = new Human[10];
		for(int i = 0; i < 10; ++i){
			humans[i] = new Human(x + 60 * i, y, t);
		}
	}

	public void paint(Graphics2D g){
		if(humans != null){
			for(Human h: humans){
				h.paint(g);
			}
		}
	}
}
